# Simplifying Data Extraction with Jexter:`Parent` In this tutorial, we will delve into the basic concepts of XPath and demonstrate through practical examples how to effectively use the `Parent` configuration in Jexter settings to simplify XPath expressions, improving the efficiency and accuracy of data extraction. #### Common Forms of [XPath](XPath%20for%20DP2.md) Expressions Include: - Absolute path: A path starting from the root element, for example, `/html/body/div`. - Relative path: A path relative to the current element, for example, `./div/p`. - Wildcard: Using `*` to represent any element, for example, `/html/*/div`. - Conditional expression: Adding conditions with `[]`, for example, `//div[@class='example']`. #### Simplifying XPath Using `Parent` Configuration In Jexter settings, the `parent` configuration allows us to define a base XPath path, which serves as the starting point for all subsequent elements. By using `parent`, we can avoid repeating long paths, making the configuration more concise and easier to manage. #### Example 1: Nested Structure of Medicine Information **HTML Structure Example**: ```html
Three times a day, one tablet each time
Relieves headache, reduces fever
Very effective, minor side effects.
Dosage instructions...
General information about the medicine